<?php

/**
 * CopyRight © 2012
 *
  -------------------------------------------------------------
 * File:     smarty_function_formcheck.php
 * Type:     api
 * Name:     smarty_function_formcheck
 * Version:  1.0
 * Date:
 * Directory: /src/app/plugins/
 * Author:   HuangTingTing
 * Purpose: smarty扩展表单验证函数
  -------------------------------------------------------------
 */

function smarty_function_formcheck($params, &$smarty)
{
  require_once(TIN_APP_PATH . 'include/utils/FormCheck.php');
  $fc = new FormCheck();
  $fc->SetFormKey($params);
}

?>